package com.duoqin.emoji;

import android.text.style.ImageSpan;
import pl.droidsonroids.gif.GifDrawable;

public class GifImageSpan extends ImageSpan {

    private GifDrawable mDrawable = null;

    public GifImageSpan(GifDrawable d) {
        super(d);
        mDrawable = d;
    }

    public GifImageSpan(GifDrawable d, int verticalAlignment) {
        super(d, verticalAlignment);
        mDrawable = d;
    }

    @Override
    public GifDrawable getDrawable() {
        return mDrawable;
    }
}

